package cn.zj.admin.modules.oa.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 员工表
 *
 * @author xi.yang(xi.yang @ downjoy.com)
 * @create 2018-08-27 21:16
 **/
@Document(collection = "zj_oa_staff")
public class Staff implements Serializable {
    @Id
    private String id;
    /**
     * 人事在录入时如果重名会区分
     * 打卡记录直接用名字做为唯一标识
     */
    private String name;
    private String phoneNumber;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public void setName(String name) {
        this.name = name;
    }
}
